package com.fdd.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/user")
public class UserController {
    @RequestMapping("/save")
    @ResponseBody
    String save(String name, String age) {
        System.out.println("name => " + name + ",age =>" + age);
        return "{'code':0}";
    }
}
